<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/tld/extend.tld" prefix="extend"%>

<link href="<extend:contextPath name="contextPath"/>/css/style.css" rel="stylesheet" type="text/css" />

<div id="header" style="height:94px; width:1045px; border:#D9D9D9 1px solid;">
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="header_banner">
	  				<tr>
		    			<td height="20">&nbsp;</td>
		    			<td class="header_td_right" style="font-size:12px; font-family: Arial, Helvetica, sans-serif;">
		    				<a href="<extend:contextPath name="contextPath"/>" class="default_link">首页</a> |  
		    				<a href="#" class="default_link">关于我们</a> |  
		    				<a href="#" class="default_link">Catalogue</a> |  <a href="#" class="default_link">支持</a>
		    			</td>
		  			</tr>
		  			<tr>
		    			<td>${temperature}&nbsp;&nbsp;${weather}</td>
		    			<td class="header_td_right"><img src="<extend:contextPath name="contextPath"/>/images/ncs_logo.gif" width="78" height="30" /></td>
		  			</tr>
		  			<tr>
		    			<td height="28"><span class="header_name">欢迎，
		    			 	<c:if test="${loginName != null}">
		    			 		<c:out value="${loginName}" />  【<a class="normal_link" href="<extend:contextPath name="contextPath"/>/mypage.do?method=mypage">我的中心</a>】
		    			 	</c:if>
		    			 	<c:if test="${loginName == null}">
		    			 		游客
		    			 	</c:if>	
		    			 	${userLocation}		    			 	
		    			 	</span>		    			 	
		    			 </td>
		    			<td valign="bottom" class="header_td_right">
		    				<table border="0" align="right" cellpadding="0" cellspacing="0">
		      					<tr>
		        					<td><a href="<extend:contextPath name="contextPath"/>/course/publicCourse.do?method=gotoPublicCourse&year=2010" class="menu_short">公开课程</a></td>
		        					<td><a href="<extend:contextPath name="contextPath"/>/teacher/viewAllTeacher.do?method=viewAllTeacher" class="menu_short">培训讲师</a></td>
		        					<td><a href="<extend:contextPath name="contextPath"/>/test/goToTestpage" class="menu_short">TEST</a></td>
		        					<td><a href="#" class="menu_short">Requests</a></td>
		        					<td><a href="#" class="menu_short">Catalog</a></td>
		        					<c:if test="${isAdmin == 'Y'}">
		        						<td><a href="<extend:contextPath name="contextPath"/>/admin/goToAdmin.do" class="menu_short">Admin</a></td>
		        					</c:if>
		      					</tr>
		    				</table>
		    			</td>
		  			</tr>
		  		</table>
		  		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  			<tr>
		    			<td class="line_one"></td>
		  			</tr>
		  			<%-- <tr>
		    			<td class="line_two"></td>
		  			</tr>--%>
				</table>
			</div>
					
			<div id="search" style="height:40px; width:1045px; border:#D9D9D9 1px solid; margin-top:5px; 
										background-color: #F2F2F2; overflow:hidden">
				<div style="margin-left:200px; margin-top:8px;">					
					<form action="/search.do?method=search">
						<input type="text" size="60" name="searchText" />&nbsp;&nbsp;&nbsp;
						<select name="type">
							<option value="1">111</option>
						</select>&nbsp;
						<input type="submit" />
					</form>	
				</div>
			</div>